package com.hulk.consumer;

/**
 * 功能概要：消费接收 
 * @author CUIJIAJUN
 * @date   2017年1月6日
 * 
 */
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;

public class MessageConsumer_topic2 implements MessageListener {

	@Override
	public void onMessage(Message message) {
		System.out.println("receive message2222:" + new String(message.getBody()));
//		System.out.println("receive message:" + message.getMessageProperties());
	}

}